﻿
using Eugenhome.Atrium.Site;
namespace Eugenhome.Atrium.Bookmark.Web
{
    /// <summary>
    /// 
    /// </summary>
    public class DailyImageItem
    {
        /// <summary></summary>
        private ImageItem _imageItem;

        /// <summary></summary>
        public string ID { get { return _imageItem.ID.ToString(); } }

        /// <summary></summary>
        public string Desc { get { return _imageItem.Desc; } }

        /// <summary></summary>
        public string DescHref { get { return _imageItem.DescHref; } }

        /// <summary></summary>
        public string ImageHref { get { return _imageItem.ImageHref; } }

        /// <summary></summary>
        public string DisplayName { get { return string.Format("{0} - {1}",_imageItem.Day,_imageItem.Desc); } }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="imageItem"></param>
        public DailyImageItem(ImageItem imageItem)
        {
            _imageItem = imageItem;
        }
    }
}